package com.syaccp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.syaccp.model.SysUser;
import com.syaccp.request.SysUserRequest;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;
import java.util.List;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    public List<SysUserRequest> userList(SysUserRequest sysUser);

    public int addUser(SysUserRequest sysUser);

    public int updateUser(SysUserRequest sysUser);

    List<SysUser> selectAll()throws SQLException;
}
